package cn.huobi.org.mapper;

import cn.huobi.org.domain.Shop;
import cn.huobi.basic.mapper.BaseMapper;
import cn.huobi.org.vo.ShopEchartsVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huobi
 * @since 2022-10-15
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String name);

    List<ShopEchartsVo> echarts();

    void addAll(List<Shop> shops);
}
